
<!DOCTYPE html>
<html>
<head>
    <meta charset="gbk" />
    <title>���ն��ϴ���demo</title>
    <script src="http://g.tbcdn.cn/??kissy/k/1.3.1/seed-min.js" charset="utf-8"></script>
</head>
<body id="err-page">
<div id="page">
    <div id="content" class="grid-c">
        <h2>���ն��ϴ���demo</h2>

        <p>������֧��mpp��Ϣ���ĵ�ҳ���в���ʹ��</p>
        <p>�ֻ�ֵ��ϴ��ɳ�ط�͹�����ɣ���л���Ǹ����������ĳ��ԡ�</p>
        <p>ҳ���û���id�ǣ�2066819382</p>
        <ul id="J_UploaderQueue" class="grid">
            <li class="g-u">
                <div class="upload-inner">
                    <b></b>
                    <div class="operate">
                        <input type="file" id="J_UploaderBtn" value="�����ϴ�" name="imgFile"  accept="image/*" >
                        <a class="mobile-upload-button" href="javascript:void(0);" id="J_MobileUpload" inited="1">�ֻ��ϴ�</a>
                    </div>
                </div>
                <input type="hidden" id="J_Urls" name="urls">
            </li>
        </ul>

        <script type="text/javascript">
            var S = KISSY;
            S.use('gallery/uploader/1.5.4/aliUploader,gallery/uploader/1.5.4/themes/crossUploader/index,gallery/uploader/1.5.4/themes/crossUploader/style.css', function (S, AliUploader,CrossUploader) {
                //�ϴ�������
                var plugins = 'gallery/uploader/1.5.4/plugins/auth/auth,' +
                        'gallery/uploader/1.5.4/plugins/urlsInput/urlsInput,' +
                        'gallery/uploader/1.5.4/plugins/proBars/proBars,' +
                        'gallery/uploader/1.5.4/plugins/filedrop/filedrop,' +
                        'gallery/uploader/1.5.4/plugins/preview/preview,' +
                        'gallery/uploader/1.5.4/plugins/imageZoom/imageZoom,'+
                        'gallery/uploader/1.5.4/plugins/cross/cross';

                S.use(plugins,function(S,Auth,UrlsInput,ProBars,Filedrop,Preview,ImageZoom,Cross){
                    var uploader = new AliUploader('#J_UploaderBtn');
                    //ʹ������
                    uploader.theme(new CrossUploader({ queueTarget: '#J_UploaderQueue' }));
                    //��֤���
                    uploader.plug(new Auth({
                                //����ϴ�����
                                max:5,
                                //ͼƬ��������С
                                maxSize:5120
                            }))
                        //url������
                            .plug(new UrlsInput({target:'#J_Urls'}))
                        //���������
                            .plug(new ProBars())
                        //ͼƬԤ��
                            .plug(new Preview())
                            .plug(new ImageZoom())
                            .plug(new Cross({
                                target:'#J_MobileUpload',
                                token:'testToken123456',
                                userId: '2066819382',
                                app : ''
                            }))
                    ;
                });
            })
        </script>
    </div>
</div>
</body>
</html>